
#pragma once

#include "DocumentManager.h"
#include "Document.h"

namespace Nano {
	class NanoCore {
			
	public:
		NanoCore();
		~NanoCore();
		
		virtual void Layout() = 0;
		virtual bool Update() = 0;

		virtual void createDocumentView(Document *document) = 0;

		void Init();

		DocumentManager *getDocumentManager();
		Document *createNewDocument();


	protected:
	
		DocumentManager *documentManager;	
	};
}
